<?php
class ModelTestTest extends Model {
    public function getCustomers($start = 0, $limit = 20) {
        if ($start < 0) {
            $start = 0;
        }
    
        if ($limit < 1) {
            $limit = 1;
        }
        $query = $this->db->query("SELECT customer_id,password FROM `" . DB_PREFIX . "customer` ORDER BY customer_id ASC LIMIT " . (int)$start . "," . (int)$limit);
    
        return $query->rows;
    }
}